All Databases
Inside Mac - Basic Toolbox
SetGWorld
InitGDevice
SetGDevice
DisposGDevice
GetDeviceList
GetMainDevice
NewGDevice
SetDeviceAttribute
GetMaxDevice
GetNextDevice
UnlockPixels
AllowPurgePixels
NoPurgePixels
GetPixelsState
SetPixelsState
GetPixBaseAddr
PixMap32Bit
GetGWorld
GetGWorldDevice
GetGWorldPixMap
DisposeGWorld
About Graphics Devices
Offscreen Graphics
Setting a Device's Pixel Depth
The 'scrn' Resource
SetGWorld
Set the current graphics world
#include <
QDOff screen.h
>
Graphics Devices
void
SetGWorld
(
port, gdh
);
CGrafPtr
port
;
grafPort to make the current port
GDHandle
gdh
;
make the current device
returns
none
SetGWorld
sets the current graphics world.
SetGWorld
can be used with a
port parameter of type
GrafPtr
.
CGrafPtr
, or
GWorldPtr
(with proper type
coercion).
If the port parameter is of type
GrafPtr
or
CGrafPtr
, the current port is set
to the port specified by the port parameter, and the current device is set to the
device specified by the gdh parameter.
If the port parameter is of type
GWorldPtr
, the current port is set to the port
specified by the port parameter, and the current device is set to the device
attatched to the given graphics world. The gdh parameter will be ignored.
Referenced by (17):
NewGWorld
Offscreen Graphics
Graphics Devices Manager (Inside Mac - Index)
NewGWorld (Inside Mac - Basic Toolbox)
Offscreen Graphics (Inside Mac - Basic Toolbox)
Jun 92 Tips (MacTech Vol 08-1992)
Color Animation (MacTech Vol 09-1993)
Courteous Apps (MacTech Vol 09-1993)
Voxels (MacTech Vol 09-1993)
Dec 96 Top 10 (MacTech Vol 12-1996)
Nov 98 Tips (MacTech Vol 14-1998)
Apr 99 Tips (MacTech Vol 15-1999)
Feb 01 QTToolkit (MacTech Vol 17-2001)
January 90 - BRAVING OFFSCREEN WORLDS (develop - 1990)
Autumn 91 - BE OUR GUEST (develop - 1991)
December 93 - GRAPHICAL TRUFFLES (develop - 1993)
March 96 - Generating QuickTime VR Movies From QuickDraw 3D (develop - 1996)